<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <title>Eyered - Cover result</title>

        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta property="og:title" content="Get your insight" />
        <meta property="og:type" content="website" />
        <meta property="og:url" content="http://apps.facebook.com/covereasydesign/" />
        <meta property="og:image" content="" />
        <meta property="og:site_name" content="" />
        <meta property="fb:app_id" content="113698288782115"/>
        <meta property="og:description" content="" />
        <link href="/eyered/covereasydesign/style.css" type="text/css" rel="stylesheet"/>
		<script type='text/javascript' src='/eyered/covereasydesign/jquery.js'></script>	

    </head>
    <body>
        <div id="fb-root"></div>
        <script src="//connect.facebook.net/ja_JP/all.js"></script>
        <script type="text/javascript">
            window.fbAsyncInit = function()  {
                FB.init({
                    appId  : '113698288782115',
                    oauth  : true
                });
                FB.Canvas.setAutoGrow();
            };
            //FB.Canvas.scrollTo(0, 0);
			function postResult(){
				$("#post-result-loading").text("<?php echo lang('coverresult_posting')?>").fadeIn("slow");
				$.ajax({					  
						url: "<?php echo base_url(); ?>index.php/view/postresult",					  
						type: "GET",
						data: {
						},
						dataType: "html",
						success: function(data) {
							$("#post-result-loading").text("<?php echo lang('coverresult_postedtowall')?>.");
							setTimeout(function(){$("#post-result-loading").fadeOut()},2000)
						}					
					});
			}
        </script>
        <div id="wrapper" style="height:auto">
            <div id="header">
                <img src="/eyered/covereasydesign/images/logo.png" alt="Eyered"/>
                <p>mobile - design - software solution</p>            
            </div><!--End #Logo-->
            <div id="content" style="height:auto;">
                
                <div id="top">
                    <div id="text">
                        <p id="p13"><?php echo lang('coverresult_p13')?></p>
                        <p id="p23"><?php echo lang('coverresult_p23')?></p>
                    </div>
                    <div id="mt"></div>
                </div>
                <div id="cover3">
                    <div style="width:100%;position:absolute;left:0;top:0;"><img src="<?php echo base_url();?>images/crop/<?php echo $user['id']?>_preview_.png" width="749px"  alt="Eyered"></div>
					<div id="post-result-loading"style=""><?php echo lang('coverresult_posting')?></div>
                </div>
                <div id="bot">
                        <a style="text-decoration:none"href="<?php echo base_url(); ?>index.php/view/createcover"><input style="cursor:pointer" id="ip1" value="<?php echo lang('button_createother')?>" type="button"></a>
                        <a style="text-decoration:none"href="<?php echo base_url(); ?>images/crop/covereasydesign_<?php echo $user['id'];?>.zip"><input style="cursor:pointer" id="ip2" value="<?php echo lang('button_downloadcover')?>" type="button"></a>
						<div onclick="postResult()" class="div_button"style="line-height: 33px;cursor:pointer" id="ip2"><?php echo lang('button_posttowall')?></div>
                </div>
            
            </div>
            <div id="footer">
                <p>Copyrights &COPY; 2012 by Eyered <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Feyeredsoftware&amp;send=false&amp;layout=button_count&amp;width=200&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21&amp;appId=113698288782115" scrolling="no" frameborder="0" style="border: medium none; overflow: hidden; float: right; width: 98px; height: 21px; margin-top: 12px;" allowTransparency="true"></iframe></p>
            </div><!--End #Footer-->
        </div><!--End #Wrapper-->
    </body>
</html>
